package hflyeer.gitee.com.dao;

import hflyeer.gitee.com.entity.Department;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DepartmentDao {
    void insert(Department department);
    void delete(String sn);
    void update(Department department);
    Department get(String sn);
    List<Department> getAll();
}
